package com.itheima.mm.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.itheima.mm.pojo.HmArticles;
import com.itheima.mm.pojo.PageResult;
import com.itheima.mm.dto.Result;

public interface ArticlesService extends IService<HmArticles> {
    PageResult findPage(String keyword,Integer state,Integer page, Integer pagesize);

    Result updateState(Integer id, Integer state);

    Result rm(Integer id);

    Result put(Integer id, HmArticles hmArticles);

    void add(HmArticles hmArticles);

    HmArticles details(Integer id);
}
